<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Sample - CKEditor</title>
	<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
	<script type="text/javascript" src="../ckeditor.js"></script>
	<script type="text/javascript">
	//<![CDATA[
        window.onload = function()
        {
            var arr = document.getElementsByTagName('textarea');
            for(var i = 0; i < arr.length; i++ )
            {
               if( arr[i].className == "editor")
               {
                    CKEDITOR.replace(arr[i], {
                        extraPlugins : 'uicolor',
                        uiColor: '#848080',
                        toolbar :
                        [
                            [ 'Styles','Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','Source' ]
                        ]
                    });
                }
            }
        }
     //]]>
	</script>
</head>
<body>
<textarea class="editor"></textarea>
</body>
</html>
